#pragma once
#include "cocos2d.h"
#include <vector>
#include <string>
using namespace std;
class DataBase
{
public:
	virtual ~DataBase(){};
	int nId;
};

class CRoleData : public DataBase
{
public:
	int nHp;
	int nShield;
	int nMp;
	int nSpeed;
	string strName;
	string strDiedImg;
	vector<string> vecIdleImg;
	vector<string> vecMoveImg;

};

class CMonsterData : public DataBase
{
public:
	int nHp;
	int nSpeed;
	int nAiInterval;
	string strSort;
	string strName;
	string strDiedImg;
	vector<string> vecIdleImg;
	vector<string> vecMoveImg;
	vector<string> vecInjuredImg;

};

class CBulletData : public DataBase
{
	
public:
	CBulletData(){ isPlayerBullet = false; }
	int nAtk;
	int nSpeed;
	float fDestoryTime;
	bool isPlayerBullet;
	vector<string> vecIdleImg;
	vector<string> vecDestoryImg;

};

class CWeaponData : public DataBase
{
public:
	int nBulletId;
	string strPicName;
};


